#ifndef __EC_DEV_DRV_H__
#define __EC_DEV_DRV_H__



#define VOID       void
#define UINT8       unsigned char
#define UINT16       unsigned short

#if 0
#define EC_DEV_IN 1001
#define EC_DEV_OUT 1002
#endif

#define EC_DEV_BYTE_IN 1101
#define EC_DEV_BYTE_OUT 1102

#define EC_DEV_GET_CHIP_ID 1103
#define EC_IT8528_PNP_READ_PAGE 1104


//#define EC_DEV_TEST   1201

typedef struct
{
	int nlen;
	unsigned short int port;
	unsigned char value;

}  __attribute__ ((packed)) typEcDev;

//unsigned char dev_inb(int fd, unsigned short int port);
//void dev_outb(int fd, unsigned char value, unsigned short int port);





#endif